﻿<UserControl x:Class="DiscoveryLogic.Analytics.Modules.Entities.OrgView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="Auto" Width="Auto" HorizontalAlignment="Stretch">
    <Border CornerRadius="10,10,0,0" BorderBrush="#3E606F" Background="Transparent" 
			BorderThickness="2" Padding="7">
        <StackPanel Orientation="Vertical">
            <StackPanel Orientation="Horizontal">
                <Image Source="../Images/home.png" Width="55" Height="55" 
					   HorizontalAlignment="Left" Margin="3"/>
                <Label x:Name="lblFullName" HorizontalAlignment="Center" 
					   Margin="5,0,5,0" VerticalAlignment="Center" 
					   Content="{Binding OrgName}"
					   FontSize="16" FontWeight="Bold"/>
            </StackPanel>
            <StackPanel>
                <Label>Department:</Label>
                <TextBox x:Name="txtDept" Margin="3,3,12,3" Text="{Binding Department}"/>
                <Label>City:</Label>
                <TextBox x:Name="txtCity" Margin="3,3,12,3" Text="{Binding City}"/>
                <Label>Region:</Label>
                <TextBox x:Name="txtRegion" Margin="3,3,12,3" Text="{Binding Region}"/>
                <Label>Country:</Label>
                <TextBox x:Name="txtCountry" Margin="3,3,12,3" Text="{Binding Country}"/>
                <Label>Postal code:</Label>
                <TextBox x:Name="txtPostalCode" Margin="3,3,12,3" Text="{Binding PostalCode}"/>
                <Label>Comment:</Label>
                <TextBox x:Name="txtComment" Margin="3,3,12,3" Height="50" MinLines="1" MaxLines="3"/>
            </StackPanel>
        </StackPanel>

    </Border>
</UserControl>
